

package yf.mall.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import yf.mall.dao.SaleTypeInfoDao;
import yf.mall.entity.SaleTypeInfoEntity;
import yf.mall.service.SaleTypeInfoService;
import com.yf.service.impl.BaseServiceImpl;

/**
 * 账户记录Service实现类
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Fri Aug 28 11:03:45 CST 2020
 */
@Service
public class SaleTypeInfoServiceImpl extends BaseServiceImpl<SaleTypeInfoEntity> implements SaleTypeInfoService {

    private SaleTypeInfoDao dao;


    @Autowired
    public void setDao(SaleTypeInfoDao dao) {
        this.dao = dao;
        super.setBaseDao(dao);
    }




    /**内部方法**/
    @Override
    public SaleTypeInfoEntity findByGoodsId(Long goodsId) {
        return dao.findByGoodsId(goodsId);
    }

    @Override
    public void deleteGoodsIdBatch(Long[] goods) {
        dao.deleteGoodsIdBatch(goods);
    }


    /**外部方法实现**/




}
